<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>
        哞哞管理后台
    </title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="./css/x-admin.css" media="all">
    <script src="js/jquery.min.js"></script>
    <script src="./lib/layui/layui.js" charset="utf-8"></script>
    <script src="./js/x-layui.js" charset="utf-8"></script>
    <script src="pageJs/utils.js" charset="utf-8"></script>
    <script src="pageJs/orderPayList.js"></script>
    <link rel="stylesheet" href="lib/bootstrap/css/bootstrap.css">
    <script src="lib/bootstrap/js/bootstrap.min.js"></script>
    <style>
        .dl-horizontal dd{
            text-align: left;
        }
    </style>
</head>
<body style="padding-bottom: 100px">
<div class="x-nav">
            <span class="layui-breadcrumb">
              <a><cite>首页</cite></a>
              <a><cite>订单管理</cite></a>
              <a><cite>支付列表</cite></a>
            </span>
    <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right"
       href="javascript:location.replace(location.href);" title="刷新"><i class="layui-icon"
                                                                        style="line-height:30px">ဂ</i></a>
    <input id="menuId" type="hidden"/>
</div>
<div class="x-body">

        <xblock><span class="x-right" style="line-height:40px" id="total">加载中...</span></xblock>
        <!--根据订单号查询-->

    <input class="layui-input" placeholder="开始日" id="LAY_demorange_s" style="width: 200px;display: inline-block">
    <input class="layui-input" placeholder="截止日" id="LAY_demorange_e" style="width: 200px;display: inline-block">
    <input id="queryKey" class="layui-btn layui-btn-primary" placeholder="请输入订单号" value="">
    <select class="layui-btn layui-btn-primary" id="state">
        <option value="">订单状态(全部)</option>
        <option value="1">未支付</option>
        <option value="2">支付成功</option>
        <option value="3">支付失败</option>
        <option value="4">用户取消</option>
        <option value="5">支付完成 通知失败</option>
        <option value="6">退款申请</option>
        <option value="7">退款完成</option>
    </select>

    <button onclick="search()" class="layui-btn" style="height:32px;"><i class="layui-icon">&#xe615;</i></button>

</div>
<table class="layui-table">
    <thead>
    <tr>
        <th>用户id</th>
        <th style="min-width: 75px">支付订单号</th>
        <th style="min-width: 96px">第三方流水号</th>
        <th>支付金额(元)</th>
        <th>状态</th>
        <th>支付渠道</th>
        <th>订单来源</th>
        <th>创建时间</th>
        <th>修改时间</th>
        <th>完成时间</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody id="orderPayList">
    <tr>
        <td colspan="11" style="text-align: center">
            正在加载 ...
        </td>
    </tr>
    </tbody>
</table>

<div id="page"></div>

<div class="modal fade" id="orderPayDetail" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content" style="width: 900px;height: 40vh">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                        aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">支付详情</h4>
            </div>
            <div class="modal-footer">
                <div class="wrapper wrapper-content animated fadeInRight">
                    <div class="row">
                        <div class="col-lg-12">
                            <div class="ibox float-e-margins">
                                <div class="ibox-content" id="orderPayDetailPage">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
